package com.woniuxy.cloud52;

import com.woniuxy.cloud.ticket52.common.result.Result;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestParam;

@FeignClient(value="cinema52",contextId = "cinema")
public interface CinemaAPI {
    /**
     * 查询影院
     * @param cid
     * @param
     * @return
     */
    @GetMapping("getcinema")
    public Result getcinema(@RequestParam("cid")int cid);
}
